package Service;

import Bean.Cart;

import java.util.List;

public interface CartService<T> {
    public void addCartFurn(Integer UserID, Integer FurnId);
    public List<T> getAllCartFurn(Integer UserID);
    public boolean isCartFurn(Integer UserId,Integer FurnId ,Class<T> tClass);
    public boolean deleteCartFurn(Integer UserId,Integer FurnId);
    public void deleteCartFurn(Integer UserId);
    public void SetCartSize(Integer UserID, Integer FurnID, Integer Size);
    public Integer CartIdNumber(Integer userId);
}
